package org.swirrel.listener;

import java.lang.reflect.Method;

import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.AbstractAction;
import org.swirrel.util.MethodCall;

/**
 * <p>Title: Swirrel</p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2009</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 0.1
 */
public class SwirrelAction extends AbstractAction {

  private final ActionListener listener;

  public SwirrelAction(MethodCall methodCall) {
    listener = new SwirrelActionListener(methodCall);
  }

  public void actionPerformed(ActionEvent e) {
    listener.actionPerformed(e);
  }
}
